projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dd95c1
)
(NON_GNU_CPP): Use associated preprocessor when compiling with Sun
author
Glenn Morris
<rgm@gnu.org>
Wed, 4 Apr 2007 02:52:50 +0000
(
02:52
+0000)
committer
Glenn Morris
<rgm@gnu.org>
Wed, 4 Apr 2007 02:52:50 +0000
(
02:52
+0000)
Studio on Solaris.
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index 75f02f7b7de7c20cab5ad35e72637c3dbe69e2ca..d68c8aa841d9843e4c240226d069e4bad176c48b 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1030,7
+1030,12
@@
dnl see the `changequote' comment above.
;;
*-sunos5* | *-solaris* )
opsys=sol2-6
- NON_GNU_CPP=/usr/ccs/lib/cpp
+ if [ "x$CC" = x/opt/SUNWspro/bin/cc ]; then
+ ## -Xs prevents spurious whitespace.
+ NON_GNU_CPP="/opt/SUNWspro/bin/cc -E -Xs"
+ else
+ NON_GNU_CPP=/usr/ccs/lib/cpp
+ fi
;;
* ) opsys=bsd4-2 ;;
esac